# Generated by Django 4.2.11 on 2024-04-17 03:51

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ("naryad", "0014_alter_etaps_naryad"),
    ]

    operations = [
        migrations.AlterField(
            model_name="it_lab",
            name="container",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.DO_NOTHING,
                to="naryad.container",
                verbose_name="Контейнер",
            ),
        ),
        migrations.AlterField(
            model_name="it_lab",
            name="lpu",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                to="naryad.spr_lpu",
                verbose_name="ЛПУ",
            ),
        ),
        migrations.AlterField(
            model_name="it_lab",
            name="naryad_doc",
            field=models.ForeignKey(
                default=None,
                null=True,
                on_delete=django.db.models.deletion.PROTECT,
                to="naryad.user_sdl",
                verbose_name="Доктор наряда",
            ),
        ),
        migrations.AlterField(
            model_name="it_lab",
            name="opl",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                to="naryad.spr_opl",
                verbose_name="Тип оплаты",
            ),
        ),
        migrations.AlterField(
            model_name="it_lab",
            name="patient",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                to="naryad.patient",
                verbose_name="Пациент",
            ),
        ),
        migrations.AlterField(
            model_name="it_lab",
            name="sdl_etap",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                to="naryad.spr_sdl",
                verbose_name="Должность этапа",
            ),
        ),
        migrations.AlterField(
            model_name="it_lab",
            name="sdl_set",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.PROTECT,
                to="naryad.sdl_set",
                verbose_name="Ha6op должностей наряда",
            ),
        ),
        migrations.AlterField(
            model_name="it_lab",
            name="user_etap_link",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.PROTECT,
                to=settings.AUTH_USER_MODEL,
                verbose_name="Специалист этапа",
            ),
        ),
    ]
